package org.ccams.domain;

import java.util.Date;

public class TpInDetail {
	private Long	num;    
	private Integer	ord;      
	private Integer	gid ;      
	private String	batchno; 
	private Short	kind;
	private Short	type;      
	private Long	ref_num;      
	private Integer	ref_ord;      
	private String	serialNo;      
	private String	factcode;      
	private String	otlcode;      
	private Integer	batchid;
	private String	pgid;    
	private Long	amount;      
	private Double	in_price ;      
	private Double	tax_money; 
	private Double	price;
	private Double	out_price;      
	private Date	prod_date;      
	private Date	end_date;      
	private Date	rep_date;      
	private String	quality;      
	private String	okpass;      
	private String	inno;
	private String	infp;      
	private Integer	cwaf;
	private Date	cwaf_date;    
	private Integer	cwaf_man;      
	private Date	cwaf_pay_date ;      
	private Integer	cwaf_pay_man; 
	private Long	cwaf_amount;
	private Long	pay_arap;      
	private Integer apid;      
	private Date	adate;      
	private Short	state;      
	private Short	ischeck;      
	private String	remark;      
	private Double	cw_inprice;
	private Double	cw_taxmoney;
	private String	cw_remark;
	private Date	ref_date;
	private Short	cw_state;
	
	private long idt_Materiel;//物料ID
	private String materielName;//物料名称
	private String aname;//审核人用户名
	private String total;//金额总计
	public String getMaterielName() {
		return materielName;
	}
	public void setMaterielName(String materielName) {
		this.materielName = materielName;
	}
	public Long getNum() {
		return num;
	}
	public void setNum(Long num) {
		this.num = num;
	}
	public Integer getOrd() {
		return ord;
	}
	public void setOrd(Integer ord) {
		this.ord = ord;
	}
	public Integer getGid() {
		return gid;
	}
	public void setGid(Integer gid) {
		this.gid = gid;
	}
	public String getBatchno() {
		return batchno;
	}
	public void setBatchno(String batchno) {
		this.batchno = batchno;
	}
	public Short getKind() {
		return kind;
	}
	public void setKind(Short kind) {
		this.kind = kind;
	}
	public Short getType() {
		return type;
	}
	public void setType(Short type) {
		this.type = type;
	}
	public Long getRef_num() {
		return ref_num;
	}
	public void setRef_num(Long ref_num) {
		this.ref_num = ref_num;
	}
	public Integer getRef_ord() {
		return ref_ord;
	}
	public void setRef_ord(Integer ref_ord) {
		this.ref_ord = ref_ord;
	}
	public String getSerialNo() {
		return serialNo;
	}
	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}
	public String getFactcode() {
		return factcode;
	}
	public void setFactcode(String factcode) {
		this.factcode = factcode;
	}
	public String getOtlcode() {
		return otlcode;
	}
	public void setOtlcode(String otlcode) {
		this.otlcode = otlcode;
	}
	public Integer getBatchid() {
		return batchid;
	}
	public void setBatchid(Integer batchid) {
		this.batchid = batchid;
	}
	public String getPgid() {
		return pgid;
	}
	public void setPgid(String pgid) {
		this.pgid = pgid;
	}
	public Long getAmount() {
		return amount;
	}
	public void setAmount(Long amount) {
		this.amount = amount;
	}
	public Double getIn_price() {
		return in_price;
	}
	public void setIn_price(Double in_price) {
		this.in_price = in_price;
	}
	public Double getTax_money() {
		return tax_money;
	}
	public void setTax_money(Double tax_money) {
		this.tax_money = tax_money;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getOut_price() {
		return out_price;
	}
	public void setOut_price(Double out_price) {
		this.out_price = out_price;
	}
	public Date getProd_date() {
		return prod_date;
	}
	public void setProd_date(Date prod_date) {
		this.prod_date = prod_date;
	}
	public Date getEnd_date() {
		return end_date;
	}
	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}
	public Date getRep_date() {
		return rep_date;
	}
	public void setRep_date(Date rep_date) {
		this.rep_date = rep_date;
	}
	public String getQuality() {
		return quality;
	}
	public void setQuality(String quality) {
		this.quality = quality;
	}
	public String getOkpass() {
		return okpass;
	}
	public void setOkpass(String okpass) {
		this.okpass = okpass;
	}
	public String getInno() {
		return inno;
	}
	public void setInno(String inno) {
		this.inno = inno;
	}
	public String getInfp() {
		return infp;
	}
	public void setInfp(String infp) {
		this.infp = infp;
	}
	public Integer getCwaf() {
		return cwaf;
	}
	public void setCwaf(Integer cwaf) {
		this.cwaf = cwaf;
	}
	public Date getCwaf_date() {
		return cwaf_date;
	}
	public void setCwaf_date(Date cwaf_date) {
		this.cwaf_date = cwaf_date;
	}
	public Integer getCwaf_man() {
		return cwaf_man;
	}
	public void setCwaf_man(Integer cwaf_man) {
		this.cwaf_man = cwaf_man;
	}
	public Date getCwaf_pay_date() {
		return cwaf_pay_date;
	}
	public void setCwaf_pay_date(Date cwaf_pay_date) {
		this.cwaf_pay_date = cwaf_pay_date;
	}
	public Integer getCwaf_pay_man() {
		return cwaf_pay_man;
	}
	public void setCwaf_pay_man(Integer cwaf_pay_man) {
		this.cwaf_pay_man = cwaf_pay_man;
	}
	public Long getCwaf_amount() {
		return cwaf_amount;
	}
	public void setCwaf_amount(Long cwaf_amount) {
		this.cwaf_amount = cwaf_amount;
	}
	public Long getPay_arap() {
		return pay_arap;
	}
	public void setPay_arap(Long pay_arap) {
		this.pay_arap = pay_arap;
	}
	public Integer getApid() {
		return apid;
	}
	public void setApid(Integer apid) {
		this.apid = apid;
	}
	public Date getAdate() {
		return adate;
	}
	public void setAdate(Date adate) {
		/*if(adate == null)
			try {
				this.adate = new SimpleDateFormat("y-M-d").parse("1111-11-11");
			} catch (ParseException e) {
				e.printStackTrace();
			}
		else{
		}*/
		this.adate=adate;
	}
	public Short getState() {
		return state;
	}
	public void setState(Short state) {
		this.state = state;
	}
	public Short getIscheck() {
		return ischeck;
	}
	public void setIscheck(Short ischeck) {
		this.ischeck = ischeck;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Double getCw_inprice() {
		return cw_inprice;
	}
	public void setCw_inprice(Double cw_inprice) {
		this.cw_inprice = cw_inprice;
	}
	public Double getCw_taxmoney() {
		return cw_taxmoney;
	}
	public void setCw_taxmoney(Double cw_taxmoney) {
		this.cw_taxmoney = cw_taxmoney;
	}
	public String getCw_remark() {
		return cw_remark;
	}
	public void setCw_remark(String cw_remark) {
		this.cw_remark = cw_remark;
	}
	public Date getRef_date() {
		return ref_date;
	}
	public void setRef_date(Date ref_date) {
		this.ref_date = ref_date;
	}
	public Short getCw_state() {
		return cw_state;
	}
	public void setCw_state(Short cw_state) {
		this.cw_state = cw_state;
	}
	public String getAname() {
		return aname;
	}
	public void setAname(String aname) {
		this.aname = aname;
	}
	public String getTotal() {
		return total;
	}
	public void setTotal(String total) {
		this.total = total;
	}
	public long getIdt_Materiel() {
		return idt_Materiel;
	}
	public void setIdt_Materiel(long idt_Materiel) {
		this.idt_Materiel = idt_Materiel;
	}

}
